# ~*~ coding: utf-8 ~*~
from flask_wtf import FlaskForm
from wtforms import StringField

from apps.common.form import ErrorFormMinx

__all__ = ['LoginForm', 'PasswordForm', 'OtpCodeForm']


class LoginForm(ErrorFormMinx, FlaskForm):
    username = StringField()
    password = StringField()
    remember = StringField()


class PasswordForm(ErrorFormMinx, FlaskForm):
    password = StringField()


class OtpCodeForm(ErrorFormMinx, FlaskForm):
    otp_code = StringField()
